#ifndef WXSADVQPP_H
#define WXSADVQPP_H

#include "properties/wxsquickpropspanel.h"
#include <wx/button.h>
#include <wx/sizer.h>

class wxsAdvQPPChild;

class wxsAdvQPP : public wxsQuickPropsPanel {
  public:
    wxsAdvQPP( wxWindow* Parent, wxsPropertyContainer* Container );
    virtual ~wxsAdvQPP();
    void Register( wxsAdvQPPChild* Child, const wxString& Title );
  private:
    void Update();
    inline void NotifyChange() { wxsQuickPropsPanel::NotifyChange(); }
    void OnToggleButton( wxCommandEvent& event );
    WX_DEFINE_ARRAY( wxsAdvQPPChild*, wxArrayAdvQPPChild );
    WX_DEFINE_ARRAY( wxButton*, wxArrayButton );
    wxArrayAdvQPPChild Children;
    wxArrayButton Buttons;
    wxBoxSizer* Sizer;
    DECLARE_EVENT_TABLE()
    friend class wxsAdvQPPChild;
};

#endif
